package com.jt;

import javax.sound.midi.Soundbank;

public class Dog implements User {


    int age;
    String name;


    public Dog()
    {
        System.out.println("贝仁杰玩玩");
    }

    public Dog(int age) {

        System.out.println("含参"+age);
    }

    public Dog(int age, String name) {
        this.age = age;
        this.name = name;
        System.out.println("年龄："+age+"名字："+name);
    }


    @Override
    public void hello() {
        System.out.println("小狗");
    }
}
